package com.area.cth.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
@Data
public class MessageVO implements Serializable {

    private Integer targetUser;

    private String username;

    private String nickname;

    private String avatar;

    private Integer type;

    private String content;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
}
